package com.atguigu.eduservice.service;

import com.atguigu.commonutils.R;
import com.atguigu.eduservice.entity.EduComment;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 评论 服务类
 * </p>
 *
 * @author huangqicai
 * @since 2023-03-30
 */
public interface EduCommentService extends IService<EduComment> {


    /*新增评论*/
    R addComment(EduComment eduComment, HttpServletRequest request);

    /*根据课程id分页查询评论*/
    R getPageList(long current, long limit, String courseId);
}
